package top.zackyoung.cloud.feign.exam;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.net.URI;

/**
 * @author ZackYoung
 * @version 1.0
 * @description
 * @date 2021/5/12 20:53
 */
@FeignClient(name = "user")
public interface FeignExamOne {
    @RequestMapping("/test/{name}")
    String test(@PathVariable String name);
}
